#ifndef KEYBOARD_H_
# define KEYBOARD_H_

# include <stdlib.h>
# include <unistd.h>
# include <stdio.h>
# include <curses.h>
# include <sys/time.h>
# include "events.h"
# include "libvid.h"

void			quit(p_context				c,
			     int				sig);

void			wait_pause(p_context			c);

/* grepme check_keyboard state add zone */
suseconds_t		check_keyboard_state(p_context		c,
					     int		zone,
					     suseconds_t	old,
					     value		ba,
					     struct _video	*video);

void			pp_exit(void);
/* pp means pretty print : useless (=> usefull) */

#endif /* !KEYBOARD_H_ */
